package TowDef.generic;

import java.util.ArrayList;

import javax.swing.ImageIcon;

public class Square {
	
	protected ImageIcon image;
	protected Tower tower;
	protected boolean way;
	protected ArrayList<Enemy> enemys;

	public Square(){
		image= new ImageIcon(getClass().getResource("/img/grass.jpg"));
		tower = null;
		way = false;
		enemys = new ArrayList<Enemy>();
	}

	
	public ArrayList<Enemy> getEnemys() {
		return enemys;
	}

	public void setEnemys(ArrayList<Enemy> enemys) {
		this.enemys = enemys;
	}

	public ImageIcon getImage() {
		return image;
	}

	public void setImage(ImageIcon image) {
		this.image = image;
	}

	public Tower getTower() {
		return tower;
	}

	public void setTower(Tower tower) {
		this.tower = tower;
	}

	public boolean isWay() {
		return way;
	}

	public void setWay(boolean way) {
		this.way = way;
	}
}
